home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1993 / MacHack 1993.toast / MacHack™ 1987-1992 / MacHack™ '90 / Other Stuff / Demos ƒ / TOPS SoftTalk Package / STClient ƒ / CSTClientApp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-08  |  2.0 KB  |  79 lines  |  [TEXT/MPS ]

  1. /*
  2. ------------------------------------------------------------------------------
  3. |    Sun Microsystems, TOPS Division
  4. |    950 Marina Village Parkway
  5. |    P.O. Box 4016
  6. |    Alameda, CA 94501
  7. |    
  8. |    Copyright (c) 1989 Sun Microsystems, Inc. All rights reserved.
  9. |    
  10. |    Sun considers its source code as an unpublished, proprietary trade secret,
  11. |    and it is available only under strict license provisions. This copyright
  12. |    notice is placed here only to protect Sun in the event the source is deemed
  13. |    a published work. Disassembly, decompilation, or other means of reducing the
  14. |    object code to human readable form is prohibited by the license agreement
  15. |    under which this code is provided to the user or company in possession of
  16. |    this copy.
  17. |    
  18. |    RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the Government
  19. |    is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the
  20. |    Rights in Technical Data and Computer Software clause at DFARS 52.227-7013
  21. |    and in similar clauses in the FAR and NASA FAR supplement.
  22. ------------------------------------------------------------------------------
  23. */
  24.  
  25.  
  26.  
  27.  
  28. /*
  29.  
  30.     INTERFACE CSTClientApp
  31.  
  32. */
  33.  
  34. #ifndef __CSTClientApp__
  35. #define __CSTClientApp__
  36.  
  37.  
  38. #include "CApplication.h"
  39. #include "CWriteLnWindow.h"
  40. #include <MenuMgr.h>
  41. #include "STClient.h"
  42.  
  43.  
  44. struct CSTClientApp:CApplication {
  45.     MenuHandle fAppleMenu, fFileMenu, fEditMenu, fClientMenu;
  46.     CWriteLnWindow* fWindow;
  47.     /* CSTClient* fClient; */
  48.     
  49.     
  50.     void ISTClientApp(void);
  51.     void CreateMenus(void);
  52.     void CreateWindow(void);
  53.     void CreateClient(void);
  54.     void DestroyClient(void);
  55.     
  56.     void CallFunction1(void);
  57.     void CallFunction2(void);
  58.     void CallFunction3(void);
  59.     void CallFunction4(void);
  60.     void CallFunction5(void);
  61.     
  62.     INT16 MenuSelectionToCmd(INT16 menu, INT16 item);
  63.     void DoMenuCmd(INT16 cmd);
  64.     
  65.     /* menu actions */
  66.     void Quit(void);
  67.     void DoClear(void);
  68.     void DoDebugger(void);
  69.     void DoCreateClient(void);
  70.     void DoDestroyClient(void);
  71.     void DoFunction1(void);
  72.     void DoFunction2(void);
  73.     void DoFunction3(void);
  74.     void DoFunction4(void);
  75.     void DoFunction5(void);
  76. };
  77.  
  78.  
  79. #endif